<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
	href="<s:url value="/css/eff.css"/>">
<link rel="stylesheet" type="text/css"
	href="<s:url value="/css/structure.css"/>">
<link rel="stylesheet" type="text/css"
	href="<s:url value="/css/menu.css"/>">
<link rel="stylesheet" type="text/css"
	href="<s:url value="/css/table.css"/>">
<link rel="stylesheet" type="text/css"
	href="<s:url value="/css/search.css"/>">
<title>Liste des valeurs</title>
</head>
<body>
		<%@ include file="../menu.jsp"%>
	
		<div class="leftmenu">
			<ul id="menu-accordeon">
      <ul>
      <li><a href="<%=request.getContextPath()%>/themes/ListeThemes.action">Liste des thémes</a>
   
   </li>
				<li><a
					href="<%=request.getContextPath()%>/themes/ListeIndicateursCalcule.action?identifiantTheme=<%=request.getParameter("identifiantTheme")%>">Liste des indicateurs
						calculés</a></li>
						
				
			</ul>
					</div>
			
		<s:if test="hasActionMessages()">
				<s:actionmessage />
			</s:if>
			<center>
				<display:table id="inputText" name="listeValeurs" pagesize="5"
					export="true" requestURI="/indicateurCalcules/derniereListeValeurs.action"
					decorator="services.displayTag.DecorateurSupprimerModifier">
				<s:textfield cssStyle="display:none;" name="identifiantTheme" value="%{#parameters['identifiantTheme']}"></s:textfield>

					<display:column property="valeur" title="valeur" sortable="true" />
					<display:column property="emplacement.nom" title="emplacement" sortable="true" />
					<display:column property="annee.annee" title="annee" sortable="true" />
                    <display:column property="boutonModifierValeurCalcule" title="" media="html"/>
					<display:column property="boutonSupprimerValeurCalcule" title="" media="html" value ="identifiant"/>

				</display:table>
			
				
				<form  action="<%=request.getContextPath()%>/valeurs/rechercherValeurRedirect.action"  >
					<input type="submit" class="btnLogin" value="Rechercher par criteres" />
						<s:textfield cssStyle="display:none;" name="identifiantTheme"
						value="%{#parameters['identifiantTheme']}"></s:textfield>
						<s:textfield cssStyle="display:none;" name="identifiantIndicateur" value="%{#parameters['identifiantIndicateur']}"></s:textfield>
					
				</form>

				<form action="<%=request.getContextPath()%>/vues/indicateur/AjouterIndicateurValeur.jsp">
					<input type="submit" class="btnLogin" value="Ajouter une valeur"/>
					<s:textfield cssStyle="display:none;" name="identifiantTheme"
						value="%{#parameters['identifiantTheme']}"></s:textfield>
						<s:textfield cssStyle="display:none;" name="identifiantIndicateur" value="%{#parameters['identifiantIndicateur']}"></s:textfield>
										
					
				</form>
				
						</center>

</body>
</html>